package org.adream.account.dao;

import java.util.List;

import org.adream.account.entity.EconomicTypeEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface EconomicTypeDao {
	
	int addEconomicType(EconomicTypeEntity economicType);
	
	int deleteEconomicType(EconomicTypeEntity economicType);
	
	int updateEconomicType(EconomicTypeEntity economicType);
	
	List<EconomicTypeEntity> queryEconomicTypeByDr(@Param("dr") Integer dr);
	
	EconomicTypeEntity queryEconByEtidAndDr(@Param("etid") Integer etid,@Param("dr") Integer dr);
}